<?php
$strTableName="proforma_invoices_chart";
$_SESSION["OwnerID"] = $_SESSION["_".$strTableName."_OwnerID"];

$strOriginalTableName="proforma_invoices";

$gstrOrderBy="";
if(strlen($gstrOrderBy) && strtolower(substr($gstrOrderBy,0,8))!="order by")
	$gstrOrderBy="order by ".$gstrOrderBy;

$g_orderindexes=array();
$gsqlHead="SELECT id,   account_id,   buyer_id,   consignee_id,   notify_id,   proforma_invoice_no,   proforma_invoice_date,   customer_reference,   customer_reference_date,   commercial_invoice_no,   commercial_invoice_date,   term_of_sale1,   term_of_sale2,   shipment_mode_id,   estimated_shipment_date,   estimated_shipment_date_custom,   additional_charges_frieght_type,   additional_charges_legalization,   additional_charges_inspection,   additional_charges_special_packing,   others1_key,   others2_key,   others3_key,   others1_value,   others2_value,   others3_value,   payment_term_id,   payment_term_other,   bank_name_id,   bank_term1,   bank_term2,   currency_id,   terms_and_conditions";
$gsqlFrom="FROM proforma_invoices";
$gsqlWhereExpr="";
$gsqlTail="";

include(getabspath("include/proforma_invoices_chart_settings.php"));

// alias for 'SQLQuery' object
$gQuery = &$queryData_proforma_invoices_chart;
$eventObj = &$tableEvents["proforma_invoices_chart"];

$reportCaseSensitiveGroupFields = false;

$gstrSQL = gSQLWhere("");


?>